Execution Configuration Variables
There are two kind of execution configuration variables - custom execution configuration variables and predefined execution configuration variables.
Custom execution configuration variables
To create or edit custom execution configuration variables, click Edit the variables available for execution in the Execution Configuration dialog. They can be used, in assesslets, see Test Assessment - Assesslets, to restrict the execution of an assesslet, for example, or in the Condition text field of the Test Set definition dialog, see Test Sets based on Variables.
By default, these variables are not displayed in the report. To display them, select the Show in Report checkbox. The variables will then be displayed in the Platform Information table of the report.
Predefined execution configuration variables
The predefined execution configuration variables get their value when the test is executed. So if you use a variable like tpt.date
or tpt.time
in a directory, you can prevent overwriting existing test data unintentionally.
For example, you can use the tpt.date
and tpt.tptfile.name
variables to create a custom directory name.
Execution configuration | ||||
---|---|---|---|---|
Variables | Data dir | Reference dir | Report dir | Attributes |
tpt.version
|
✓ | ✓ | ✓ | ✓ |
tpt.rootdir
|
✓ | ✓ | ✓ | ✓ |
tpt.tptfile
|
✓ | ✓ | ✓ | ✓ |
tpt.tptfile.dir
|
✓ | ✓ | ✓ | ✓ |
tpt.testdatadir
|
✓ | ✓ | ✓ | |
tpt.date
|
✓ | ✓ | ✓ | ✓ |
tpt.time
|
✓ | ✓ | ✓ | ✓ |
tpt.testreportdir
|
✓ | ✓ |